require('../css/commCss/normalize.css')
require('../css/commCss/reset.css')
require('../css/commCss/property.css')
require('../css/commCss/basic.css')

// 本身样式
require('../css/motionIng.less')

// 字体
require('../libs/fonts/iconfont.css')

//axios请求
const axios = require('axios')


// weui-插件库
require('weui')
const weui = require('weui.js')



// 文档加载事件
document.addEventListener('DOMContentLoaded',function(){
    

    /**
     * 1.获取元素
     */
    let btneOne = document.querySelector('#btneOne')
    let btneTwo = document.querySelector('#btneTwo')
    let goOn = document.querySelector('#goOn')
    let finish = document.querySelector('#finish')

    //点击暂停，显示btneTwo，隐藏btneOne
    btneOne.addEventListener('click',function(){
        btneOne.classList.add('dpnone')
        btneTwo.classList.remove('dpnone')
    })

    //点击继续，显示btneOne，隐藏btneTwo
    goOn.addEventListener('click',function(){
        btneTwo.classList.add('dpnone')
        btneOne.classList.remove('dpnone')
    })

    //点击结束，跳转页面
    finish.addEventListener('click',function(){
        location.href = './motionModel.html'
    })

})